import $api from "./server";

export const addBuild = async (data) => {
  let res = await $api.post("build/add", data);
  return res.data;
};

export const getAllBuild = async (data) => {
  let res = await $api.post("build//getAll", data);
  return res.data;
};
export const editBuild = async (data) => {
  let res = await $api.post("/build/edit", data);
  return res.data;
};
export const delBuild = async (data) => {
  let res = await $api.post("/build/del", data);
  return res.data;
};

